class CreateEmissions < ActiveRecord::Migration
  def self.up
    create_table :emissions do |t|
      t.string :name, :null => :no
	  t.string :short_description, :null => :no
	  t.string :description
	  t.string :language
	  t.string :genre
	  t.integer :download_count, :default => 0
	  t.datetime :emission_date
      t.timestamps
    end
  end

  def self.down
    drop_table :emissions
  end
end
